package com.example.user.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.user.entity.wx.WxPayLogEntity;
import com.example.user.mapper.WxPayLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author:汪彬彬
 * date:2024/11/12 15:31
 */
@Service
public class WxPayLogDataService {

    @Autowired
    WxPayLogMapper mapper;

    WxPayLogEntity selectOne( QueryWrapper<WxPayLogEntity> payWrapper){
        return  mapper.selectOne(payWrapper);
    }

    int insert(WxPayLogEntity wxPayLogEntity){
        return mapper.insert(wxPayLogEntity);
    }
}
